//
//  GlobalData.h
//  ReplaceColor
//
//  Created by zw wu on 15/2/6.
//  Copyright (c) 2015年 wzv. All rights reserved.
//

#define IOS_VERSION_8_OR_ABOVE (([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0)? (YES):(NO))
#define KMaxLoctionExpression 1
#define KMinItemCount 8
#define KMaxItemCount 18

static NSString* classicModeStars = @"classicModeStars";
static NSString* challengeModeStars = @"challengeModeStars";
static NSString* addGameImagesNotify = @"addGameImagesSucceed";

const static int rightLeftEmptySpace = 20; //左右留白;
const static int topLeftEmptySpace = 80; //上部留白

const static int maxImageCount = 18; //最大图片总数
const static int gamePassCount = 30;
typedef enum
{
    KClassicMode,
    KChallengeMode
}KGameMdoe;

NSUInteger GetBtnSizeByDevice();
NSArray* GetMinRowAndCloNumber();
CGFloat GetbtmLeftEmptySpace();
BOOL isLandscape();
BOOL isPhone();
